﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmConsultarLicencias.aspx.cs" Inherits="Apa.Forms.frmConsultarLicencias" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
      <style>
    
    
    /* #### bootstrap Form #### */
.bootstrap-frm {
    margin-left:auto;
    margin-right:auto;

    max-width: 100%;
    background: #FFF;
    padding: 20px 30px 20px 30px;
    font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border:1px solid #DDD;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.bootstrap-frm h1 {
    font: 25px "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom: 1px solid #DADADA;
    margin: -10px -30px 30px -30px;
    color: #888;
}
.bootstrap-frm h1>span {
    display: block;
    font-size: 11px;
}
.bootstrap-frm label {
    display: block;
    margin: 0px 0px 5px;
}
.bootstrap-frm label>span {
    float: left;
    width: 100%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
}


.bootstrap-frm textarea{
    height:100px;
    padding: 5px 0px 0px 5px;
    width: 100%;
}
.bootstrap-frm .button {
    background: #FFF;
    border: 1px solid #CCC;
    padding: 10px 25px 10px 25px;
    color: #333;
    border-radius: 4px;
}
.bootstrap-frm .button:hover {
    color: #333;
    background-color: #EBEBEB;
    border-color: #ADADAD;
}


.bootstrap-frm input[type="text"]{
    border: 1px solid #CCC;
    color: #888;
    height: 20px;
    line-height:15px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 5px 0px 5px 5px;
    width: 25%;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;    
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
         
        }
    
    </style>

<script>

    function validar() {

    
            var r = confirm("Esta seguro de eliminar los registros correspondientes a este programa ?");
            if (r == true) {
                return true;
            } else {
                return false;
            }

        }

  

</script>

</head>
<body>
    <form id="form1" runat="server" class="bootstrap-frm">

    
   
     <label class="label">
     
    
   
     SELECCIONAR LA INSTITUCIÓN Y EL PROGRAMA QUE DESEA ELIMINAR.<br />
     <br />
     
    
   
     Instituto <asp:TextBox ID="tbInstitucion" runat="server" placeholder="Nombre de la institución" required
        ></asp:TextBox>
        
       Programa <asp:TextBox ID="tbNombrePrograma" runat="server" placeholder="Nombre de programa a eliminar" required
        ></asp:TextBox>
        
         Licencia <asp:TextBox ID="tbModulo" runat="server" placeholder="Nombre del modulo" required
        ></asp:TextBox>
        

         <asp:Button ID="btEliminar" runat="server" Text="Eliminar" class="button" OnClientClick="if (validar() == false) return(false);" onclick="btEliminar_Click" UseSubmitBehavior="false"/>
       <br />
       </label>

    
   
       <asp:GridView ID="gvLicencias" runat="server" Width="100%" 
         onrowcommand="gvLicencias_RowCommand">
           <Columns>
               <asp:CommandField SelectText="Seleccionar" ShowSelectButton="True" />
           </Columns>
       
       </asp:GridView>

      
  
    </form>
</body>
</html>
